package com.yang.service.Impl;

import com.yang.mapper.InterfaceInfoMapper;
import com.yang.pojo.InterfaceInfo;
import com.yang.service.InterfaceInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service("interfaceInfoService")
public class InterfaceInfoServiceImpl implements InterfaceInfoService {

	@Resource
	InterfaceInfoMapper interfaceInfoMapper;
	
	@Override
	public InterfaceInfo findFirstByUri(String uri) {
		return interfaceInfoMapper.findFirstByUri(uri);
	}

	@Override
	public List<Map<String,Object>> findInterfaceByRemarks() {
		return null;
	}

	@Override
	public List<Map<String, Object>> getInterfaceInfoList() {
		return interfaceInfoMapper.getInterfaceInfoList();
	}
}
